package com.by.bean;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel(value = "用户表",description = "")
@TableName("user")
@Data
public class User {
    /**
     * ID
     */
    @ApiModelProperty(name = "ID", notes = "")
    @TableId
    private int userId;
    /**
     * 注册时间
     */
    @ApiModelProperty(name = "注册时间", notes = "")
    private Date createTime;
    /**
     * 修改时间
     */
    @ApiModelProperty(name = "修改时间", notes = "")
    private Date updateTime;
    /**
     * 用户昵称
     */
    @ApiModelProperty(name = "用户昵称", notes = "")
    private String nickName;
    /**
     * 头像图片路径
     */
    @ApiModelProperty(name = "头像图片路径", notes = "")
    private String pic;
    /**
     * 状态 1 正常 0 无效
     */
    @ApiModelProperty(name = "状态 1 正常 0 无效", notes = "")
    private Integer status;
}
